package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.BanWords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BanWordsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BanWords record);

    int insertSelective(BanWords record);

    BanWords selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BanWords record);

    int updateByPrimaryKey(BanWords record);

    BanWords findBanWordsByKeyword(@Param("vocabulary") String vocabulary);

    List<BanWords> findBanWordsByVagueKeyword(@Param("keyword") String keyword);

    List<BanWords> findAllBanWords();

}
